package com.tony.mindwarning.mpper;

import com.tony.mindwarning.pojo.Inbround;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 *
 * @Title: InbroundMapper
 * @Auther: 皮蛋布丁
 * @Date: 2021/04/10/21:59
 * @Description:
 */
@Mapper
public interface InbroundMapper {

    /**
    * @Description: inbround 商品入库
    * @Param: [inbround]
    * @return: int
    * @Author: 皮蛋布丁
    */
    int inbround(Inbround inbround,int userId);

    /**
    * @Description: getTotlCount 获取总条数
    * @Param: []
    * @return: int
    * @Author: 皮蛋布丁
    */
    int getTotlCount();
    
    /**
    * @Description: getTypesByPge 获取状态信息(分页)
    * @Param: [map]
    * @return: java.util.List<com.tony.mindwarning.pojo.Inbround>
    * @Author: 皮蛋布丁
    */
    List<Inbround> getInbroundByPaage(Map<String,Object> map);

    /**
    * @Description: deleteInbroundRecord 根据id删除入库列表
    * @Param: [id]
    * @return: int
    * @Author: 皮蛋布丁
    */
    int deleteInbroundRecord(int id,int userId);
}
